﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Places.master" AutoEventWireup="false" CodeFile="PlacesUploadPictures.aspx.vb" Inherits="PlacesUploadPictures" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <fieldset>
<legend><label>Upload Pictures to Album</label></legend>
<ul>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <li>
        <label for="AbumName">Album Name:</label>
            <asp:DropDownList ID="DDLAlbums" runat="server" DataSourceID="DSAlbums" 
                DataTextField="AlbumName" DataValueField="ID">
            </asp:DropDownList>
            <asp:SqlDataSource ID="DSAlbums" runat="server" 
                ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
                ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
                SelectCommand="SELECT [ID], [AlbumName] FROM [tblAlbum]"></asp:SqlDataSource>
            </li>  
        
         <li><label for="Picture">Picture :</label>
            <asp:FileUpload ID="A_Image" runat="server" />
        </li>

        <li><label for="Picture">Picture :</label>
            <asp:FileUpload ID="FileUpload1" runat="server" />
        </li>

        <li><label for="Picture">Picture :</label>
            <asp:FileUpload ID="FileUpload2" runat="server" />
        </li>

        <li><label for="Picture">Picture :</label>
            <asp:FileUpload ID="FileUpload3" runat="server" />
        </li>
        <li><label for="Picture">Picture :</label>
            <asp:FileUpload ID="FileUpload4" runat="server" />
        </li>
        
        <li>
    <asp:Button ID="btnSubmit" runat="server" Text="Upload" />
    </li>
    </ul>
    </fieldset>
</asp:Content>

